Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.IO.Exchangeable Namespace / IExtensibleObject<T> Interface / CreateExtension Method
A System.Xml.XmlReader object indicates the Xml reader.
An GrapeCity.Spreadsheet.IO.OpenXml.ImportContext object indicates the import context data.
A System.Guid value indicates the GUID identifier of the extension.


In This Topic
    CreateExtension Method (IExtensibleObject<T>)
    In This Topic
    Create an IExtension<T> object from the specified GrapeCity.Spreadsheet.IO.OpenXml.Extension data.
    Syntax
    'Declaration
     
    
    Function CreateExtension( _
       ByVal reader As XmlReader, _
       ByVal context As ImportContext, _
       ByVal key As Guid _
    ) As IExtension(Of T)
    'Usage
     
    
    Dim instance As IExtensibleObject(Of T)
    Dim reader As XmlReader
    Dim context As ImportContext
    Dim key As Guid
    Dim value As IExtension(Of T)
     
    value = instance.CreateExtension(reader, context, key)

    Parameters

    reader
    A System.Xml.XmlReader object indicates the Xml reader.
    context
    An GrapeCity.Spreadsheet.IO.OpenXml.ImportContext object indicates the import context data.
    key
    A System.Guid value indicates the GUID identifier of the extension.

    Return Value

    The IExtension<T> object that indicates by the specified GrapeCity.Spreadsheet.IO.OpenXml.Extension data.
    See Also